﻿
@{
    ViewData["Title"] = "ProcuredShow";
    Layout = "~/Views/Home/Menu.cshtml";
}

<div style="font-size:20px;color:gray;margin:10px;padding:16px">
    采购申请管理列表
</div>
@* 查询条件 *@
<form class="layui-form" action="" id="myLayuiForm">
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">采购编号：</label>
            <div class="layui-input-block">
                <input type="text" id="procuredNumber" placeholder="请输入" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">申请日期：</label>
            <div class="layui-input-block">
                <input type="text" class="layui-input" id="ID-laydate-demo" placeholder="请选择日期">
            </div>
        </div>
        <div class="layui-inline">
            <label class="layui-form-label">状态:</label>
            <div class="layui-col-md6">
                <select id="procuredState" lay-filter="mySelectFilter" class="dialog-select">
                    <option value="">请选择状态</option>
                    <option value="0">待采购</option>
                    <option value="1">已采购</option>
                </select>
            </div>
        </div>
        <div class="layui-inline">
            <div class="layui-btn-container">
                <button type="button" class="layui-btn layui-bg-blue" onclick="Show()">
                    <i class="layui-icon layui-icon-search"></i>查询
                </button>
                <button class="layui-btn" lay-submit>
                    重置
                </button>
            </div>
        </div>
    </div>
</form>
<div>
    <button type="button" class="layui-btn layui-bg-blue" lay-on="test-page-custom" onclick="location.href='/RawMaterial/ProcuredAdd'">添加
    </button>
</div>
@* 表格 *@
<table class="layui-table" id="carriertable" style="width:500px"></table>
<script src="~/js/Procuredcg/ProcuredShow.js"></script>
<script>
    layui.use(function () {
        var laydate = layui.laydate;
        // 日期选择器
        laydate.render({
            elem: '#ID-laydate-demo',
        });
    });
</script>
